﻿namespace Product.Api.Services
{
    public class ProductService
    {
        private const int ProductStock = 100;

        public Models.Product GetProductById(int productId)
        {
            return new Models.Product()
            {
                Id = 10086726905036,
                Name = "HUAWEI Mate 40 Pro 5G 全网通 8GB+128GB",
                Stock = ProductStock
            };
        }

        public bool SaveProduct(Models.Product product)
        {
            return true;
        }
    }
}
